fix CFGridWriter to allow null projRect;
allow CFGridWriter2 to have null variable list;
TypedDataset extends AutoCloseable