Bug fixes for python 3

- fixed a bug in Zoom plugin that caused an infinite recursion under python 3