Reinstate -Wall, fix warnings.