Ruih/use gsize format for printf

I found this when I accidentally merged text_track_refactor into master. master is fixed now, but I figured you might still want this change in your branch.