Fixed the settings import function plus some minor annoyances.