Fine tune some of the code related to the visual system