some more warning fixes

this time, I got rid of unused args in the T drawing function in display.c. I also fixed some more of those stupid unsigned/signed comparing errors in do.c