Added Slots that correlate to dialog actions.

Also created the settings read and write functions that will save program
settings on open and close of the program.

Signed-off-by: Corbin Weidner <cweidner3+git@gmail.com>
Simple main function for MainWindow.

Signed-off-by: Corbin Weidner <cweidner3+git@gmail.com>