bugfixes to mode-line-process support