Remove unused variables and static functions from gamelogic.