If your problem is affected by moving the screen, it's the chaffed wire described in the link above. I don't know the details of the logic board program, since my iBook was too old I never looked into it, but it may be possible that taking Apple up on it will get the appropriate wire replaced for you in the process.
The wire at issue is the one that provides power to the inverter for the backlight, generally referred to as the reed switch cable, since that's also attached and that's how Apple refers to the repair part.