Make usergtf an object. So far it writes and sorts fine, but still need to modify comparison code to make it functional.