Thank you for your help!
Now I get an error for line 96 (formerly line 95 due to the added line) (Controller.Run)
The message is:
Machine ” not found! Invalid game name, or game name not set!
and line 765 as well (conflict of types)
and line 199 ( If Not UltraDMD is Nothing Then): object necessary