Cleaned up error handling, styles and dirty detection method.

* Removed inline styles to CSS file.
* Standardized JS formatting in Node server.
* Cleaned up error handling code.
* Created error pane to display errors instead of using the value textbox.
* Switched dirty detection to use saved cache object and compare.