Updated ignores for Python
Added shutdown code and modified state change logging