Misc fixes, added Filter API and some example scripts