Lot's of error cleanup.