Read registry for autodecco_studio and fix some bugs