Updated main game. Still has thread error (sometimes) on exit.