using pthread instead of thread from glibmm
memory issues solved (tested with eg-amp)
readme updated
option to print the version