use canon firmware semaphore for IO access, should fix startup crashes and CFG not saving on dryos - from philmoz in http://chdk.setepontos.com/index.php?topic=6179.msg111459#msg111459