added some algorithm descriptions
updating apf patch
added long tag support, changed storage of tag size and type
temp patches pushed upstream, no need to keep them here