bugfixes, add which-func-mode