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.