Removed 'debug' code. Fixed correct 'running' status