[Issue #61] Fix some warnings.

Fixes a number of warnings. Remaining warnings are mostly to do with input systems or in generated files.