So wait, you wrote this program and then booted into safe mode and it was still running? How is that possible, safe mode only boots what the OS !!!NEEDS!!! to boot. When I had to boot into safe mode, not even the my internet connection would work.
You could go to msconfig and click diagnostic startup. That would really start absolutely nothing. And what is this program updating? I just don't see how it could be running after booting into safe mode.