now possible to close the window by pressing the cross. And other stuff I don't remember.

Signed-off-by: Olof Wallentin <olov.wallentin@gmail.com>