change input framework record cleaning

redo the infrastructure for dealing with records that fail the sanity
checking of name and argument counting.  Specializes in snipping apart
records stuck together.