PopUp for movement now works. various small code fixes as well
seems like the game works quite well now