minor cleanup, including history

no longer prints empty records in the history