inlined core::isRunning() and const corrected it.