Fixed some warnings in client game logic, controlmanager