refine goagent-gtk.py to meet PEP8