Restructuring a bit.
Fixed double click to gather items at cursor