Multithreading fixed
Merge pull request #27 from sixcoresecond/Max

Multithreading fixed