Refactor code slightly

Mostly, removes a check in the setTimeout function that potentially
returns early. This was a code smell that I wanted to remove asap.
Beginning to think about how to optimize this code so that rendering
on a 6k x 2k pixel screen is difficult.