changes to LithiumParser to reflect Threads instead of messages