Avoid all warnings in debug mode

Just begin diggin into the code of great and very usefull project. Decided to start by little cleanup.