Added a proper GUI.
Fixed config panel.