Made "fprint" fully generic using a new "like" function to test atom types.