Following this tutorial: http://steveasleep.com/pyglettutorial/