Debug logging stuff
More cleanup
Updated string ID's in string.po files

Updated string ID's even though translations aren't currently used
Added support for preferred language
Fixed urllib exception stuff
Fixed for loop