Cleaned up some coff reading code