fix autoselection of theme for certain startup configs.
allow specific whitespace checks to be enabled/disabled.