Fixed a bug causing an error to be silently ignored
Fixed a bug causing error messages not to appear on screen