glw: Fix bad focus when wrapping in lists

Fixes #2420
ecmascript: Hack to make sure all settings are destroyed when plugin is unloaded
ecmascript/settings: Better handling of bool type

Fixes #2425