ENH/FIX: EGI event handling
FIX py3k warning
cosmit
Merge pull request #1252 from dengemann/egi_fixes

ENH/FIX: EGI event handling