[MATLAB] improved logging robustness
-When logging, it is not possible to change the list of variables to
stream. This avoids messing up the logfile. The checkboxes are now
disabled during logging.
-Stopping the streaming now also stops the logging.