Fixes:
* Added a check if the menu is empty
* Added a proper exit status and message for failure cases
* Improved the usage comment
* Unified prints to using printf instead of a mix between printf and echo