memory usage cleanup
fix seqnum and age increment bugs