ThreadingInterop.cs: Just minor refactoring.
WebAppsInterop.cs: Added method 'GetUsername'.