This bug looks too big for one patch, so I close it. All related fixes will be tracked in a separate bug reports.
This bug looks too big for one patch, so I close it. All related fixes will be tracked in a separate bug reports.