fix rootpw masked field, fix check in saveandquit