Improved Drag-N-Drop

Now, users should be able to add Icons as well as Script Files by dragging more correctly.

I previously faced the problem when i dragged an icon into the GUI but saw it to added in the Script path edit box.

Sorry for two commits, i did a typo in the first one and was having trouble reverting it.