Performance optimization in multi-threaded mode: coalescing subsequent disk image constructions
Revert "Performance optimization in multi-threaded mode: coalescing subsequent disk image constructions"

This reverts commit 53e7e7d60afe1179ef18b48e7f0a8cfb003bffae.
Minor changes to infrastructure to get it to work with postgres.