1. For posthoc tracking after v1.8.0 it became necessary to add 'pwm_range' and 'legacy_PWM_control_bool' to the experiment_settings.json. During posthoc, the LED_functions.update_PWM_dutycycle() is called but with the 'just_calculate=True' flag to properly display the precision of the stimulus to the user. 2. Background.tiff was not saved in correct folder after change from os.cwd to pathlib.Path