Core pr 5

Lots of minor fixes to make the installation run better.
How do we expect to keep this updated?