Fixed broken lib
More windows
I don't remember why the first few rangetable things were commented. I don't even know what the rangetable stuff does. But it doesn't need to be commented.