fixed stop_after_current (buf #1062)
gtkui: avoid config rewrite if gui layout didn't change
config: better detection of config changes, to avoid unnecessary writing