wrapping delay() and document wrapped functions

(cherry picked from commit b10a21e967ae5e378e1a8988102e6660ac8e6bbb)
adding link to phpdoc

(cherry picked from commit 26f4f764d11bbf59517bdfffb99dd9ce2df8007f)
fixing docs

(cherry picked from commit 5716b74b92b656522b2f66eb9b8419385d3c85d4)
protect against fatals around instantiating a bad title

(cherry picked from commit 74517b0c3f0e507ee8762ee67410b6d16bd4ad70)