Export: check for end of export in ticks, not in tacts.
This works better with time signature changes.
Merge pull request #442 from softrabbit/bug440

Export: check for end of export in ticks, not in tacts.