Little refactor, editor inventory