stateDictionary added to get the current animator state name as string.