I am working on a new project to launch and manage all of my current and future retro/mini games.

I need some help or code for the following operations:
1) How do I add a Window icon in the left corner of the window?
2) How do I detect when the user has closed the window? I'm sure there is simple code to do this, I just can't remember!
3) How do I launch another App/Program in Bmax? Is there a command I am overlooking?
4) When the default Window is created using the Graphics() command, how do I center it on the screen? Rather than it opening in the upper left.

I need some help or code for the following operations:
1) How do I add a Window icon in the left corner of the window?
2) How do I detect when the user has closed the window? I'm sure there is simple code to do this, I just can't remember!
3) How do I launch another App/Program in Bmax? Is there a command I am overlooking?
4) When the default Window is created using the Graphics() command, how do I center it on the screen? Rather than it opening in the upper left.
