Turn on -W for all modules
get rid of unused imports
Remove redundant -W flags from source code