fix some compile time warnings and uninitalized variables
update changelog