Added clearer debug messages in regards to states