added frame limit (approx 60) and toggling debug menu with 'home'key