added a comment
fix error in dragging, variable was being set too soon
merge fix from embedding branch