PATCH/RFC: imagelist rewrite to use N x M grid