Port the grid-commands-as-images demo