made the settings menu close on escape press only if not online
Merge pull request #1139 from KillaBilla/settingsflashfix

Fixed a menu bug (settings menu flashing for one frame)