Rewrote player inventory to use tabs instead of adding slots to the main inventory. Fixes dupe bug and other compatibility issues.