adjust menu limitations
Merge remote-tracking branch 'refs/remotes/upstream/master'
Merge pull request #13 from andyque/master

Improve the limitation part of Menu class