More random bits
Path fixes.
Fixed os-related blunders.