Disable some debugging output.
Allow the two methods of loading, one directly from texture, the other copying to pixel buffer.