main_dialog.py loganalyse.py: make the following changes

Add a new file main_dialog.py to implement a main dialog which
could choose the log files

loganalyse.py: Modify this file into a class

gui_main.py: Add some debug codes

Signed-off-by: Dong Zhu <bluezhudong@gmail.com>