optimizations

replaced CPU expensive consumer registers on PendingWarning with faster ref dec/inc calls that basically do the same (even if they are harder to debug)