hello,
I did not find any mistakes other then,
Your circuits U1C is connected to 5vdc instead of the R3 & R4 divider...this is done as per your post,
"U1C is just a logic inverter, the + input could be connected to Vref rather than R3 and R4,..."
Your circuits R5 for U1B is a preset...