Fixed minor bug in Qt-OpenGL button management.
Fixed a signal disconnection issue in the lua main window, which occurred upon resetting the experiment.