corrections and documentation to menutree template plugin