sorry,i have many same board and want to rebuild it in new way .
marc, you didin't show the reed switch internal and forgot a diod bitween base of pnp 2sc9012 and R 5k1 .
and +5v goes no where (it's nothing).
think i will start with LM311 first and othres later.