improve undotree integration; use exposed statusline functions.