plugin menu fix and code comments