Made names more consistent.
Added support for the Invalid event state.
Added basic Items and Item_details support, but the details class still needs to be very fleshed out.