Programmatic Mode Control with Button Synchronization

Demonstrates how to control Terra Draw modes programmatically while keeping button states synchronized. External buttons can activate drawing modes and the plugin buttons will reflect the current state automatically.