Improved compilation errors and open file from error page

My bad for submitting a PR to master! Here's another PR targetting develop branch :+1: 
can we sub `errorLink` or something else more obvious? Then I'll merge.