Add NosDistance setting to the template settings config, this also adds some missing debug settings that were added.