simplify and turbo-charge the previously expensive isWhiteSpace method
remove a specialized append method which does nearly the same as the runtime does
minor cleanup of unneeded code