Fix GUI tests and mistypes

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