Lost Wish: In the desperate world: Steam fix 2

Last fix broke overlay and returning to menu (thanks to some conflict between new Steam IDE and engine basic functions). I rewrited some of the code. Hope it didn't cause any other bugs.