Changes to make compatible with .NET 4.0.
Moved internactive prompt to single process case.