fix compare
fix debug()
cleanup pygobject GUI