Improved history.
Added editor env var.