Some changes to password hiding
Started test suite, but so far it only runs the demo scripts.