Fixed bug in Customtree and added few features.