Optimize strings

1. Move strings we no longer need
2. Append char to whitespace instead of string (of 1 char)
3. Clear whitespace instead of ``` = "" ``` (tiny speed difference from
benchmarking, nice to know anyway)
4. Use ``` const char * ``` for startsWith, avoiding the creation of
temporary string objects.