changed gui library from pygae to pyglet, because of compatibility problems on different operating systems