Add basic error handling code for startup errors.
Use common error functionality in the error dialog and close a failed process with more force.