Add closing of file-descriptor to readerFree().
Corrected logging logic in gb2_param() and gb2_vcrd().
Added locking process in physical memory.