+Completed the code that exits the program when main window is closed.
+Now I know hot to communicate between classes, so the connection
between file explorer and ImageDisplay is completed.
Windows work

All the windows work is done. Now they work as expected.