Add game thread class in gui.
Clean up game/Main.cpp
Merge branch 'thread_support'