for programming multi-page menus in the result-buffer. Remove the print-object and make plugins return a function to paint the result-buffer instead.
put plugin api and registration into a module, add a new message-type, make directory-files plugin work again, delete some hundred lines of extremly silly code,