DEcosse
If it's no Scottish it's CRAP!
... frontlights low and high beam not working fuse seems fine,
Check that the connectors to the lights just behind the steering head on right side are plugged in and clean/not corroded
Otherwise check the bulbs themselves.
It may have a headlight bypass kit on it - if it does, there is likely a separate fuse for the power to that. (it would likely be connected directly to the battery - possibly left off when you installed new battery?)
... also when i go for a ride when i clutch to change gears it stalls. is this the clutch sensor? i stated the bike while not on it and when i put it in first it died the same way when riding down the road. i will just add that if im using a bit of throttle it doesnt stall its only when i let it go to idle while the clutch is in.
The clutch switch has no impact on running, only starter
There are two interlocks which affect running, the neutral and side-stand switches.
There must be one or the other present.
Assuming it starts with the side-stand down, that validates the neutral switch is good.
Typical indicator of a side-stand switch issue would be if it dies when you click it into gear with the side raised (if the side-stand is down it will DEFINITELY cut)
However I don't think that is the issue here - if you just elevate the rpm slightly, see if stalls when you put it in gear. If it does not then the switch is not what is causing the stall.
I think the problem is still associated with your idle set-up.
When you replaced the TPS did you complete the calibration?
Did you do the 'Reset adaptions' and run the '12 minute tune'?