Fixed wrong default repository branch.
Fixed settings being initialised incorrectly.

If the settings file was missing.
Fixed game reference causing overwritten settings.

Not the neatest fix, but the UI stuff is all going to change anyway.