New interface to manage settings. Also cleaned up the web backend code a bit.