Fixes/cleanups to renderView() samples truncation.