Version fix

Added code to allow both python 2 and python 3 to run the GUI version of
the code
Assorted other additions have been made