red-brick/pw: Fix working directory generation on upload page
red-brick/pw: Change minimum scheduling interval to 1 seconds
red-brick/pi: Set state_changed_callback earlier