Fix slew of potential logic errors that assumed JS numbers overflow at 32-bits
Fix slew of potential logic errors that assumed JS numbers overflow at 32-bits

matthewbauer/gbajs,endrift/gbajs,endrift/gbajs,JershXL/gbajs,JershXL/gbajs,matthewbauer/gbajs,ElliottAYoung/gbajs,ElliottAYoung/gbajs