First run at rewriting the main packet stuff
Fix registering the GUI handler
Tons more work on fixing imports, renaming stuff, etc. Still doesn't run