Added MainThread class
Updated GamePanel to fit