Fixes for issues #198, #201, #202, and #203
Revert "Bad sync"

This reverts commit 70a7e8090e13cc35b93e652d2bcd7f418af26fc1.
Fixes for issues #198, #201, #202, #203
Reverted breaking change for issue #201

To be grouped with other breaking changes for major version release.
Also, minor formatting fix in src/eventhandler.js
Merge pull request #204 from msalsbery/master

Fixes for issues #198, #201, #202, #203