added doxy and fixed game window shifting problem