cli for new garbage collection functions (to run garbage from cron )
flush_all_messages(): now always in footer