Add multilinesparser
remove ALLOW_THREADS
Some fix
Fix memory leak