more work done with table editor;found and fixed a memory leak issue