editor: use std::vector for storage of objects