New loadout functions, equipment and debug fixes