Fixed double function in customtree, fixed warnings in webfrontend files...

...tream