Eliminate testing under Silverlight, which we don't currently support; refactor; add error messages; add visible headers in console output