assorted clean-ups and simplifications found by running pyChecker on the code
assorted clean-ups and simplifications found by running pyChecker on the code

rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium