Core pr 5

Lots of minor fixes to make the installation run better.
If we are talking about http headers then please use that word. Variable is something different.