Updated error messages so we can figure out where particular errors are coming from easier.
Fixed a weird issue in which an ERROR constant was coming from a completely unrelated class somehow. Changed library so that this error is harder to set up.