Added new dialog boxes. Moved logic from MainWindow and WineFunctions out UtilityFunctions