Fixed the bugs and the cheatcode