That needs to have $$ since the assumed "slice=" string isn't always there.
updating version
windows machines are choking on line inputs.
So let's print them in the errors if they ever exist and trim every line as we're parsing.