started using PyCharm IDE.  Fixed warnings