Added some debug lines.

Known bug:
- dragging is deactivated while in the middle of it by the timer