NO ERRORS! STABLE!!!! cleaned up logic for LootBuilder

Cleaned up logic for LootBuilder, LootCalc.

Put in some placeholders for table calls.