clean GameMain.as

remove unused functions ,variables