Removed loads of warnings.
Fixed broken javadoc links.
Merge pull request #1660 from davebaol/nowarn

Removed loads of warnings.