Print error to stderr when regress testing.
Fix IV/salt reading buffer handling bug, that creeped in during the Great Transformation.

Buffer size and position tracking is elementary, dear Watson.