Adds functionality for releasing memory used by metadata.
Fixes some memory management issues
Removes buffer names (should be front-end concept), fixes some memory issues.
Also reduces rope leaf size to 64 bytes.