Fixed searching, and added a flag to the driver to indicate that
phototroping should occur.