Fixed all PEP8 and hacking errors