added bit setting helper functions
cleaned up some of the win32 mouse code
partially rewrote texture loading code, no longer need to pad textures ala fitzquake