Better error reporting on completeEpoch
Stop rig config and protocol initialization from being interrupted
Merge pull request #40 from cafarm/stability

Minor stability improvements