Core pr 5

Lots of minor fixes to make the installation run better.
It now uses the version from the profiles info file and if the info file don't have a version it prints development.