fixed a bunch of tag-related stuff, need to readd cookie for hidden tags