Fixed a typo/bug + added comments
Fix: icons weren't found without full path
Register event handlers for dragging