Improving error messages, some cleanup.
Sourcecode is now stored in redis between requests so reset/refresh will get what was stored.
Fixes to error handling in compilation -> show in browser.