I have developed a simple patch that add the possibility to close all grouped windows with right mouse button.
You can find the patch here: https://github.com/0xNaN/lxpanel-patch
You seem to have CSS turned off.
Please don't fill out this field.
Thanks, I applied your patch with a few modifications. It will probably appear in lxpanel 0.6.0.