-don't step while the core is active
-reset the counter before starting the core (so that it actually counts the execution time of the last run)
Merge pull request #2518 from Kingcom/master

Don't step when the core is active