Fixed bug with PrintData() where a print command was taken out of context.

Also updated .gitignore to exclude the Linux build directory -- which, by the way, works!