History panel: cleanup, todo list, docs; pack scripts