Fixed lots of things

Fixed #7 #3
More Multi threading.
Comments