changelog
    
    
    - Sun, 09 Apr 2023 16:01:38 +0300
 
    - by Teemu Piippo <teemu.s.piippo@gmail.com> [Sun, 09 Apr 2023 16:01:38 +0300] rev 363
 
    - Removed unused code
 
    - Sun, 09 Apr 2023 15:59:08 +0300
 
    - by Teemu Piippo <teemu.s.piippo@gmail.com> [Sun, 09 Apr 2023 15:59:08 +0300] rev 362
 
    - Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.
I was planning to make the core logic and state of the program into a Main class, which would be a QObject that would
have lots of signals and slots, but it looks like this works even without it 
    - Sun, 09 Apr 2023 13:28:36 +0300
 
    - by Teemu Piippo <teemu.s.piippo@gmail.com> [Sun, 09 Apr 2023 13:28:36 +0300] rev 361
 
    - Move some recent file handling to MainWindow