Makes undefined variables into lambdas

Also converts many uses of strfloat into strfunc.