A huge GUI overhaul and some random refactoring that was kinda needed (mostly in preparation for future mod entity support).