add functionality for minor polymode (aka minor markdown, minor org-mode) + a bunch of other improvmeents