Better algorithm for trimming strings
Not sure how that turd got in there
Remove commented out debugging line