Support for Python 3 (Gedit 3.8+) and remove prints commands which improves in performance for bigger codes.