Also free the configuration when exiting
Also the presentation monitor to be changed