More UI stuff. Global gameState vars are now local