Crudely fixed 1E999999+1 hanging error
- Also fixed hanging errors and too big numbers for conversions
- Some minor refracting fixes