Configuration tweaks

Configuration GUI and better handling to configuration.