Sorry I didn't get back to you Stuart. If I remember correctly, your's is an early ST4s and has no clutch switch so has to be in neutral before it will start. If the neutral light is working the sensor is OK, but I also remember that there was a diode in the circuit that I'd never seen before.
The engine will cut if the stand is down and it is in gear. Since it's is cutting out as soon as a gear is engaged the sidestand bypass can't be working correctly. Make sure that both wires of the sidestand switch connector are shorted together.