Pass in persistent root and global forever client earlier, fix NPEs so we have reasonable FCP functionality prior to entering password
Missing string
Detect persistence disabled and send appropriate error. Race conditions might be possible (-> NPE) but I don't think it matters.
Copy the right number of bytes even if something breaks. Should fix bug #2444 too.