Tidy up programming mode settings.