Got rid of ErrorMessage class, since static methods of QMessageBox can
be used to do the same thing.