Added logic for auto-killing stalled job processes.
Added migrations.