fixes in stylesheet, fix repeated taggings, added uri guessing