Added error detection and highlighting in UI

This will occur for all errors detected in the *compilation* phase of the
code.  Other errors will be detected as per normal by the tests.

Closes #22