Error Panel

Adding the error panel to the interface and using the layers page as a test case for raising an error.
Please note that it's currently commented out until I'm finished building it.