Fixed timeline not being redrawn after cancelled update event
Option order made deprecated
Function `setWindow` now accepts an object with properties `start` and `end`.