cleared out a few unnecessary funcs
Changed Q5 to read longs directly
Removed debug stuff from q5