Finished Gui and Inventory Refactoring

Still buggy, but mostly working.