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: 
It could perhaps do with better naming but it is basically referring to the setting.

I guess you could also just take out that parameter and take the link straight from the config within the method.