Some communication fixes and start to a gtk gui