Expose reference to renderer in debug mode.
Replaced 41ms setInterval-based timer with requestAnimationFrame-based timer.
Minor typo.
Fixed parser failure when drawing instructions have terminal spaces or are only spaces.