update the position of merge objects
prune groups which have no inputs
no longer need to have weird display behavior for inputless groups