Commands
--------

int create_memblock(int size)
void remove_memblock(int handle)
int memblock_resize(int handle; int newsize)
int memblock_midextend(int handle; int at; int by)
int memblock_size(int handle)
int memblock_read_byte(int handle; int offset)
void memblock_set_byte(int handle; int offset; int value)
int memblock_read_word(int handle; int offset)
void memblock_set_word(int handle; int offset; int value)
string memblock_read_string(int handle; int offset)
void memblock_set_string(int handle; int offset; string line)
void memblock_copy_memory(int handle; int offset; int address; int size)
int memblock_point(int handle)
void memblock_allocate_string_ref(int handle; int offset)
void memblock_free_string_ref(int handle; int offset)
void memblock_set_string_ref(int handle; int offset; string line)
string memblock_read_string_ref(int handle; int offset)
int lock_heap()
void unlock_heap()
