Mark all private functions as static, replace 'unsigned long' with 'GtUword'
Limited scope of AgnFilterStream class
Merged from master (and handled conflicts)