Added code to toggle Koopa animations and code cleanup