Added an option for enabling/disabling dragging and droppping images.