Show a nice message on parse failure.

Test plan:
* create invalid parse, tab away, the error message appears immediately
* tab back, fix parse, it goes away immediately
* create invalid parse, wait two seconds, the error message appears
* fix parse, it goes away immediately
* tab away, no message appears

Auditors: alex