Fix locking
All redo programs now share the same entry point
Cleanup
fixup centralization