minimize critical locking sections

in (dis)associate key
Automated build of mist.js
Merge branch 'staging' into images_temp
Fix image search