More work towards a finished gamemode.