Fix for Python out-of-range exception when accessing Bindings tab
Clean up old syntax highlighting code now that the new parser seems to work