Updated thesis with transition to bugs of visual system