Adds tag filtering and editing (stuff like deleting old tags and adding new ones)
(will do the remaining metadata stuff in another patch)