Menu events now fire in correct order.
Fixed menu initalization in Firefox (due to differences in insertBefore behavior when 2nd parameter is omitted).