Add check for text being null. fixes #155
Change delete status use a new extended callback which has the status in it.

Can then delete from the cache only when successful.
Fixes #160
Merge pull request #165 from BlythMeister/Bugs

Fixes for #155 & #160