041620142121: Created function to delete redo records and miscellaneous
cleanup.