Re #8686. Added error report to ApplicationWindow.

This was done by adding a slot for the error signal and turning
it into a log message and exiting.