Main Loop with embedded IPython kernel

Getting used to PyCharm and trying to embed an iPython kernel as part of
the main game loop. So far not working too well.