switch to animating using requestAnimationFrame
reset runstate when program editor changes worlds
fix state maintenance for completing programs
fix bug in rendering when using very fast speed