bash session leader notification and mercurial branch display.