added sequential menu locking.
merge resolution