Added ability to make input field private.

If isHidden is set to true in the MenuInput constructor, the input field
will show asterisks (*) instead of text.