Inventory and abilities working again (with some improvements)