comment on implementation of window status callback