Improve error dialog.

* Raise error window to top on error, no need for window.alert anymore.
* Fix the JS-Eden -> Error log menu item.
* Increase error window width to fit content.
* Scroll the error window to top on every error.