Delay, spelling

Changed the delay in the delivery and retrieve functions from 5000
milliseconds to 3000. Fixed spelling errors in comments.