GUI naming

Named all components in the GUI with more meaningful names.
Create IDialog

Created an IDialog interface to make the difference between a window
and a dialog more clear. A dialog will return a value where a window
does not.