Removed State.destroy empty method and replaced with State.shutdown, as that is what the StateManager expects (fix #586)