Add TART, handle multiple threads, handle new marker format, misc improvements.