Prefer not to use seperate QMainWindow

* added actions to QMenuBar to call functionalities of the program

* not using pointers for calling several QWidgets, (might create memory
leaks?? not sure... Will put question on codereview later) but using
reset() procedures to reinitialize QWidgets