The menu has better code than the actual gameplay.