Improve option toggling to update all displayed view

Use view flags to query which views need to be reloaded. This avoids
custom logic inside toggle_option.
Add toggling for display of files in untracked directories
Use memset to clear the format buffer