ENH: More complete processing history read/write support
cleanup + fix proc_history