Adds .shell_control and updates many scripts to use it.
Cleans up more scripts, remove opendiff.