Frame: OnClose now handles asynchronous behaviour of DoStop().
Core: Return CORE_STOPPING even if hardware is already uninitialized.