Fix checking of latest message, improve formatting, update to latest SinkLibrary
Merge remote-tracking branch 'origin/master'

Conflicts:
	pom.xml
Reformat Code