Don't quit application when last window was closed

Signed-off-by: Simon Busch <morphis@gravedo.de>