Adds hash table write error alert.

Writing can silently fail on certain systems (like mine).  I don't know how to prevent it, but here's a few lines to add in error alerts.
Merge pull request #411 from znruss/patch-1

Adds hash table write error alert.