refactor: stats & GUI & endgame conditions + tweaks on controls etc.