Fixing bugs in VRT builder/rect. WiP.
Updating autotest.