I recently downloaded Supreme Commander 1.1.3280 and upon loading it had a red box around it and after about 10seconds it closed.
I also downloaded the trainer manager v1.008 and this too had a red box around it and then closed shortly after about the same time.
Not sure why these things have done this, or how I can get it fixed but it is VERY annoying and would like some help.
But sounds like a sandbox problem either from Avast, or some other type of software that uses sandbox methods.
If it is Avast just turn off the auto-sandbox feature in the options.