Done documenting the code. Chagnes the PrintStream to Pilot.