fixed how CanEquipWeapon and CanEquipArmor work and restored the flags for the weapon types
added the item list to the window showing selectable inventory for changing weapon/armor/accessory
added a cancel button to the changeitemdialog
debug conditional to give items at the start of the game for testing