Some progress in debugging of encoding VDBs, not finished yet

Signed-off-by: Bleska <blecha.jiri@gmail.com>