Corrected error in beginSeedLatch setup logic. Also added some basic logging. Quick unit test suggests it's working.