Added optional shadow, fixed mouse dragging so the dragged node sticks to mouse annd doesn't wander off, and fixed HTML rendering for Safari