add some error messages for when pygments fails