Moved bind-tree functions to main.js of dev_edit until M.js is fixed.