Added resourcestrings, also some PEP8 fixes