Added computation of edge position and angle.
Move map building into first update call.

Because the collision/dynamics code doesn't work so well when you
clone() objects inside initialize.
Updated avatar movement to work via physics/dynamics.