Fixed a compile problem and made the --delete-delay option work.