Updated TODO
New parameter HAM_PARAM_RECORD_SIZE
More refactoring, cleaning up record handling