Add a generic filter helper for command flags etc.
Update completion code for /set*, /reset, /archive, /unarchive.
Console editing: re-implement ‘swap with next’ and ‘delete to end’.