Wait, actually... If you want to factor tiles of different layers - why not allow this?

Like generating tiles from a whole log file. The layer name I have in the script is just to generate a "unique" filename for the tile.

But either way, don't get too carried away with that, this was merely to solve the task of finding bad tiles, I think it's crucial we put effort into a js seeding script that'll link to openlayers.