minor update to inventory take function, now sets type correctly. Minor update to GUI in properties pane of scripteditor