minor changes

Made the settingspanel more universal and improved the layout.