removed unused imports
more safety checks
Merge branch 'master' of github.com:c4fcm/ytrends