More plumbing for loot drops. Removed some hard-coded constants.
Implemented levelling up.