Grothendieck Duality and D-modules via Diagonally Supported Sheaves