Error in GetFreeBlock() corrected.