Added warning log and cleaned up imports
Merge branch 'master' of github.com:getlantern/lantern