adding maxerr option and updating to work with latest htmllint