Integrated error reporting

Removed several MessageBoxes and replaced them with a single system for
reporting errors.

This change was not applyed on the LoginForm since it did not seem
necessary.