strtoll
add in %i for sprintf
got past first parse
bunch of untested stuff, quotes etc
started some more logging