add own threading instead of gtk thread cycle