Added -Wall and cleaned up resulting messages.