Make a few less important fixes
Throw IllegalStateException in restart() if the core is not started