Ok, I tried running the application as the shell, which was a fantastic idea. The problem is that I have the program set to shutdown the computer on exit. When it exists, windows immediately tries to run the program again and I get an error message saying windows can't start that process because it is shutting down. This has never been a problem except now when i run the program as a shell. Is there any way around this?