Fixed typos, invalid indentation, other PEP8 errors.