Fixed Distance calculation derp
Added more locals
Getting stuff ready for translations