Fix op amps and add pulldown resistors to TTL inputs