Camera Fix

When camera is open, quitting was let camera open until terminating
matlab. Added close request function of the UI.