Functional auto distribution of inputs

Some weidness when doing left-click drag, also doesn't update when you
take out an item or stack, shift-clicking two into it at once is kinda
weird, but there doesn't appear to be any item duping or loss