Make shouldTerminateAfterLastWindowClosed work ;)