Moves default sample from 3px to 10px.  Adds tests for offest boundaries.  Cleans up comments.  Optimizes some tests.
Cosmetic cleanups, removes lots of comments (use git history to see old code!).