Added PreviewRenderer. Improved distance calculation during rendering.