Removed trailing whitespace.
Added ability to load and save snapshots.