Replace a couple of panics with graceful exits.
Cosmetic changes and a comment about the mysterious ##0d user-data prefix.