Structure changes, many CustomItem changes, array functions