Put check_variables at top of retro_run function
Stale and unused sound buffer can go too