Make attache init allow named profiles. Add weak error checking.

This should have a comment.  I thought this not exiting was a bug at first.