Improved some translations, made the code more PEP8