Added an error icon to the error dialog.

Modified some of the error codes.