Fixed a lot of errors, made the UI responsive

UI should now scale with the window.