BF: Fix AttributeError in test main

An AttributeError was raised because the test main was not adapted after
a change of ListWidget to be a GlobSizer instead of just containing one.

Found by pylint.
BF: Fix NameError

A NameError was raised because logging was used but not imported.

Found by pylint.
DOC: Fix typos in source comments and log message
Merge pull request #626 from philippwiesemann/fix-dialogs-errors

BF: Fix AttributeError and NameError