begin samples/edv.py, other small experiments and tweaks