Refs #5421 Added support for showing a message box to user.

Also properly documented the ResNorm code.