Added error messages back in using $GLOBALS. Probably a better way to do it...