Improvements of the CA generator

• Locking
• Help