Fix bug in menu.

Fixes #24.
Fix up code style.
Merge pull request #26 from eddieajau/gh-pages

Fix bug in menu