changed tk .set() to Qt .setText() and fixed the file dialog buttons.