Classes inherit from old-style classes, super breaks them
Added item_lookup function and better error handling
Merge remote-tracking branch 'DempDemp/ecs_bugfix' into develop

Fixes #2103.