Reworked GUI Creation

There is now a function that generates the GUI instead of me using copy & paste over and over again ...