Improved data frame logging

Fixes #25