adding the multithread flag to makefile
Some minor changes for testing reasons only