Removed the thread nonsense. Kept the functionality :-).
Also added the possibility to enable hardware timestamping.