Add Promise global variable.
Increase maximum number of errors from 50 (the default) to 250.