Fixed math for putting items in buckets.
Started to work on keeping track of pretty items.