fixed capsule collision detection, minor other improvements