move Wavefront String method to debug file, minor optimizations
add more profiling options to make test