After #142 almost all compiler warnings are fixed. Fix the rest and then make future warnings into CI errors.