improvements to dataset saving and rendering logic

Signed-off-by: Garet Claborn <garet@approachfoundation.org>