Output errors to a text file.

Wanna take a stab at figuring out why this won't compile?