small clean up

A debug text passed in previous commits... oops.
A little more speed up
A bit more of speed up
Cleaning whitespace
More speed up

avoiding mb_* functions when possible
More speed up (potentially)