support for anonymous funcs, fixes, better examples.

addFunc and removeFunc work like in FunctionList now.
minor fixes of inconsistencies, and more examples that also provide
better behavior tests.