Do not destroy update event

Sometimes, update event is destroyed before "Stop UI" event stops the
VMUI window.
VMUI viewer self terminate

Copy self terminate code from VMUI to VMUI_Viewer