Fix redundant imports. Use -Wall. Fix warnings.