Now using getpass for master password input to prevent shouldsurfing.