Fully functional settings panel.

Added a error overlay which can be shown using the function
showErrorOverlay(message).