Add a checkbox to the running process to auto-restart it if it crashes, similar to a systemd service. Probably need to add a check which only restarts the process if it's been running for more than ~10 minutes to prevent infinite error loops.