got more of the code working for the dragndrop stuff.