demag_gui: fix potential compatibility problem with DirDialog not coming up when using brew/pip python
add doc-strings and fix unrecognized column header error for validate_upload