changed experimental drag and drop code to be only used in debug mode