Added a variety of customization options.
Bug fix in my-restart-shells.