added `--lock-install`, locking for install space

this can prevent spurious errors from interleaved
i/o access of the install space by preventing
multiple install commands from being run in
parallel
improved terminal width estimation functions
improved output formatting for time and status