CHG: we don't longer need a windows close event, because the window is
undecorated.