Cleaning up console color codes and whitespace.