refactor snapshotting code
add toString() for Point2D
Merge pull request #9 from measures/misc

misc