LocalImageEditor - clean up, throws an error if a command is expecting a value and non is provided.