add option to hide empty menu items, refs #23
change formatting of condition, refs #24
Merge pull request #24 from lociii/hide_empty

Add option (MENU_HIDE_EMPTY) to hide empty menu items