Change the wait time to five seconds because the previous value was insane. Still use nanosleep so people can use smaller values if they desire. Added some commenting to explain what each macro is used for.