Adding debug option (-v) and working DRAG. Some behaviors still need to be changed.