Fix: add error class to header if compile failed
Merge pull request #252 from jpbackman/fix-compile-error-header

Fix: add error class to header if compile failed
Fix: show correct compile error status in UI after socket connection reconnect