Adding off function to remove events.
Reworking event tests.
Adding tests for min/max dimensions.
Updating dist/version.