Update CodeBlocks project and fix some Linux/GCC warnings.