DT 2.4.0 taking a really long time to export jpgs.

Just a wild guess: it might be that the configured tile size is too big, so instead of using tiling to keep everything in RAM the system starts swapping.