Corrected the Eq instance for Oid
Whitespace fix
lgWriteTree should always call doWriteTree