Removed unused code

Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.

Move some recent file handling to MainWindow

(0) -300 -100 -30 -10 -3 +3 +10 tip

mercurial