Move the ending of games back to the clearConfig as we call that when reloading