+Fixed bug on processes that would case the file to be rewritten multiple times
+Fixed diff for threads
+Excluded all printf functions