Version 2.4.0, Added support for sync mode, fixes #19