Add support for prompting for passwords, and for enablepass
Fix missing debug conditional
Add sanity checks in CSV parsing routine