treat file adding as background job, so that quit doesn't crash
gtkui: call exit(0) to force exit when background jobs are running, instead of attempt to perform clean exit (which is impossible in these conditions)