Fixes to warnings and Copyrights