re-written TCX export
version 1.1.4 + value checking