starting from a python3 embed example
ported the gui front end over to python 3