closing the app after the (single) window is closed
Merge pull request #1 from deadfalkon/feature/closeAppAfterWindowClosed

closing the app after the (single) window is closed