Small fixes to make besh work again

At least expand("The path is $PATH") works again. There are probably a lot more problems to fix, but it is useable again now.