main.py: use QMainWindow as main window. wndonreading.py: the code previous in main.py mainly move here.