git completion and other minor changes.