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: 
Ah, did that there now