Move web view creation to its proper place (to ag_window_init())

This is necessary as ag_window_set_default_display_theme() would
indirectly manipulate the chart view’s theme, which fails (as the chart
view doesn’t exist at the time of manipulating).
Add some debugging instructions about display themes
Clean up AgPreferences template
Add default display theme selection to the Preferences