Auto format
Changing the state constants to constants (upper case)
Removing uppercase in random strings everywhere
lowercaseing uppercase strings
Autoformating and retabing
Removing tabs that should not be there at all.

They shouldn't even be spaces!