trying to make m gen-subkey more responsive in the face of errors, and clearer to...