Partly rewrote the GUI system + some fixes...