Remove GSoC 2013 text
Fix generate to work with Python 3 (hopefully correctly)
Fix generate to work with Python 2