Fix misc problems.
Add initial Vagrant config.