Implement global tick event.
Implement Eval method; used to execute Python code inside the main thread after an optional delay.
Use Eval in /console command code for thread safety.