Code formatting: use same separators everywhere, remove extra spaces from license headers, simplified message manager api a bit