Add utils.histogram and fix some bugs
Merge branch 'plugin/designer' into linkurious-version