add basic tickExport function. Fixes #24.