allow locals to be filter arguments
implement filter chaining
fix garbage collection
add filter initialization and disposal