Changed error handler to PHP5.3 min version. Much prettier code.