Fixed string memory management.  Added dumpClass method.