First try to cleanup process startup for good.

Unix: compiles and works.
Windows: tried to cleanup, did not try to compile yet.