fixes for various and sundry warnings
merging in warnings fixes
Merge branch 'master' into npRmpi