Move the new version alert dialog code into its own module.
Merge branch 'master' of https://github.com/CVL-dev/cvl-fabric-launcher
Possible fix to launcher not displaying error dialog when run_ssh_command
fails.
A progress dialog class which is non-modal (so we can still show/hide
the debug window.)
- Moved logger definitions to before version number check, because if the
    version number check fails, logger_debug will be called.
- Moved new version alert dialog into its own module.
- Created a custom progress dialog, and implemented it in the login thread.
Merge branch 'master' of https://github.com/CVL-dev/cvl-fabric-launcher
- Set initial message of progress dialog to "Connecting to MASSIVE..." or "Connecting to CVL..."
- If you already have a job in the Vis node queue, the Launcher will now close the progress dialog when it reports the error.
- die_from_login_thread now destroys the progress dialog, and it resets the cursor and status text before displaying the error dialog.
- Each time the Launcher attempts to destroy the progress dialog, it checks that it hasn't already been destroyed.
- showstart is now run sooner, because we don't have to worry about it cluttering up the Log Window in cases where it isn't needed.
- progressDialog is now set to None when it is destroyed, and checked for not None when it is used.
- The progressDialog was added to the SetCursor function.
- Renamed TurboVNC's proc to self.turboVncProcess
- Put TurboVNC's subprocess.call within wx.CallAfter(...).
- For some reason the qdel in onCancel was freezing sometimes on run_ssh_command's stdout.read(), stderr.read() after running the MASSIVE Desktop
  - Ensured that qdel only runs if it hasn't already run previously.
- die_from_main_frame now destroys progress dialog.
- Added an option to avoid showing error dialog in die_from_login_thread, e.g. if user presses Cancel on progress dialog.
- Added a progress bar for tidying up after TurboVNC exits.
- Added "-a" option to qdel to make it faster.
- The Log Window's text control is now cleared at the beginning of the login thread.
- A new option (userCanAbort) has been added to the progress dialog to indicated whether a Cancel button should be included.
- Added a progress bar for tidying up after TurboVNC exits.
- Removed the disabling of auto-quit when TurboVNC returns a non-zero exit code, because this happens with the Java viewer when you click MASSIVE's end session button.
- When auto-quit is disabled, because TurboVNC exited too quickly or returned an error message, the user is given a message box, explaining why the Launcher didn't auto-quit, and the debug window is automatically displayed.
Trailing whitespace OCD.
Tidying up unused function parameters; removing incorrect comment regarding CallAfter.
- New deleteMassiveJobIfNecessary function avoids the need to call qdel in multiple places.
- The progress-dialog-update methods are now members of the LoginThread class, so they
    can be called from outside of the run(self) function.
- The main loop which waits for a MASSIVE Vis node now checks for an abort request from
    the progress dialog.
- Changed delay for showstart from 5 seconds back to 10 seconds.
- Added a new check to deal with the possibility that no Vis node(s) were found after the
    Vis node request loop.  This shouldn't happen, but it did, due to an indentation bug.
- The Cancel button on the progress dialog is now disabled after an abort has been requested.
- The Exception (a) and (b) blocks now close the progress dialog, and display the debug window.
Merge branch 'master' of https://github.com/CVL-dev/cvl-fabric-launcher

Fixed conflicts in:
	launcher.py
Ask user if they want to submit an error log to our server.
Added --windowed option to pyinstaller.
Removing pyc files that should not be tracked.
shouldAbort() -> shouldAbort  ... property, not method?
Reverting previous change.
Added an option to disable having the server-side script
repeatedly run qstat to check whether the job has started.
qstat can instead be run from the client side.
Fiddling with shoudlAbort.