added result metadata and return from command execution, improvements to command UI