Replaced remaining output statements with lg4j.