Hi,
using menubar I noticed that an error occurs when you destroy the menubar from a menu's voice:
Please look at this demo:
and select file->quit... you can look now a js error. (call to function closeAll before initialization...)
I think the problem is that the function _destroy don't delete the this.active variable, so, when the _close() is called, the first "if" in this function is false...
regards,
Fabio