Refuse to start if stdout doesn't refer to a terminal

I tend to accidentally run something like
	`dex git grep -l main`
instead of
	dex `git grep -l main`
Status line formatting cleanup
Don't set input_mode directly
Always update screen after git-open