fixed logger and other small python improvements
small changes to sample.py
Removed commented code
sample.py improvements
fixed sample.py errors
Fixed PR comments
Merge pull request #287 from est77/py_improvements

fixed python logging and other small python improvements