fix profile header string
fix/update varref/varset funs (but still commented out)
put varref/varset funs back in for clang experiments