update to warnings

making the syntax more concise throughout with import from and making all str formatting new-style rather than the mix of new and old-style str formatting.
I know it was like this already, but why the non-American English version of "favour" rather than "favor"? See http://grammarist.com/spelling/favor-favour/ for example