implement diff, colour plane and grid modes