Fix GUI tests and mistypes

There is strange focusing issue on Openbox if configuration dialog
doesn't have a parent.

Ignore seemingly random X11 errors and warnings in tests.