Improve the 'running' state

Improve the 'running' state's handling of first parameter as well as 'name' kwarg. 
Enable logging for state.