fix coordinate transformation, event handling
fix far-push,far-pop; improve v code a bit