aesthetical improvements:

make the logger a class attribute
retrieve directory path of the .ui file
remove unnecessary import statement