Implemented citem.c/.h, migrated mhmk2r.c to use new citem functions
Bug fix, caused memory corruption