updated app-utils.js; added base controls toggle, freeze, save; switched to requestAnimationFrame