Fixed server crash bug, added custom messages

for completed/undefined goals. We may want to discriminate between
these, but that's an easy fix.