Almost got item editor working