Added a MaxViewDistance option.

This is a rather bad name