replace newt.Compare with com:ID
added component 'tags', Lua 5.2 compatibilty