Switched most hashes to TreeHash.  Fixed some null pointer bugs.  Open new sketch in existing editor if untitled and not modified