Suppress other errors when syntax errors are detected

This commit ensures that other errors are suppressed when a syntax
error is encountered. The syntax error is also clearly reported on
all panes.

The commit will also ensure that dependency errors are visible as a
general "Module has unresolved dependencies" error on the overview
page

Closes #519
Closes #525