*Removed some unnecessary code that was ment just to test the GUI\n*Tweaked the error messages a bit