Recursive HDR generation is added to directory nodes.
Mild code cleanup