Small cleanup on exiting to easily see if the app quit properly or crashed