* Tighter validation, closed a number of crashes due to invalid data

Benjamin Mako Hill || Want to submit a patch?