Connecting to an external monitor isolates the problem to the screen area and verifies the logic board. Since you can see the desktop and replaced the inverter, I would replace the inverter cables.
open