mitigate google short temper
refactor and minor fixes
sleep if google gets annoyed