removed all compile warnings in core except json package

json package needs refactoring anyway.  that said, this should help make it easier to see things left to address.