fixed a few bugs with menu api
Merge pull request #2 from JustinJohnWilliams/master

fixed a few bugs with menu api