Explicit heritage from the Object Class.
Solved a bug when the main window is closed, but the program keep running. Reason: Open and saved dialogs wasnt destroyed; now, when the user open or save a file those filedialogs are destroyed properly.

Added a Quit option for the File Menu.