Autoclose submenus when another is being opened on GS 3.8-3.10 (like GS 3.10 does).
Updated images.
Do not animate submenus when called with animate=false, send 'open-state-changed' on GS 3.6 & 3.8.