Fixed a buglet in the ERASE command, added a test for it, and some documentation.