Deal with all the warnings in code

(now it is warning-free)