Catch rendering issues.

Catch and warn on rendering issues in top files. Closes #8799.

Cherry pick for 2014.1