Remove unused variables from the settings.
Finalize default layout.