Fixed orphaned comment bug

Comments are now deleted and restored with the blocks to which they are attached.

Fixes #109.