Adapted to use new gamecore. UGLY. to be done. Also no sounds.