Add and fix all compiler warnings, mouse sensitivity

I activated -Wall and fixed all warnings expect unsigned comparisons.. there is a lot of dead code where I'm not sure what you want to keep.