Cleaned up code and added comments.
Drag n Drop working.
Popup error messages.