Fix chooser.js
Only look for widgets in ~/.local/share
Add api.in_main_thread
Use unicode here
Fix widget.destroy