document main better. diagnose selection/movement bug.  plan bugfix for selection unpredictability.