Fix handling of escaped backslashes. Fix variable creation routine.