(hopefully) finished print.c functionality.