Fix deleting objects from the object table.

Also fixed up the linker file so the section names are shorter.
Fix the initialisation of the mem secion data structure.