Add compiler warnings; fix things.