Progress on edges.cpp; key zero reliably locked

Micellenous example files also brought along.