Disable controls when mining simulation is running.
Resolve StyleCop violation.