Update to 1.7.10 and refactor code to better match other mods by @kihira

The title and stuff.

Note: Very little testing was done I ran it and opened some GUIs and it seemed to work fine.