MainGUI never restarts matlab if it is already running