implemented quit Emulink function (Emulink menu)