added stock message
bug in search from recent fix
new caching algorithm to keep sort order
added badges
badges only appended if content present