Fix incorrect call to Draw.rect() from Draw.pixel().
JS linter-suggested code cleanups.
Refactor Log (make certain properties private, expose public properties dinamically).