Ok, so I've tried making a latching circuit (seen in eevblog #262) using two complementary transistors and two switches for setting and releasing the latch (see attachment). When connecting power to the circuit it does (most of the time) turn itself on automatically unless I've closed the releasing switch right before. I've also tried adding a 10k pull up on the PNP as well as a 10k pull down on the NPN, as well as a capacitor (0.1uF) in parallell to the releasing switch in order to short this when I connect power. None of these measures have been 100% successful. What am I doing wrong here?