MainGame uses threads