remove unused function, move /listprefixes output to core buffer, add newline for style