Log glib messages to a "log" stream

Otherwise, messages about I/O errors will be swallowed, since at runtime
our stdout and stderr are redirected to /dev/null.
Add stream monitor abstract base class
Add log viewer window
Add statistic counting I/O errors
Display error icon if I/O errors occur
Display error dialog if I/O errors occur

Closes #17.