Now box disappears when gui opens, if gui closes, random items (not from gui) will drop.
If there is not enough space in inventory, dropped items will drop near player
Added simple selectors for /givebox command: @p, @a and @r. Also, you can specify players amount in square brackets: for example, @p[10] will select ten near players