Fix layout on Chrome 25.
Improve database.sql a bit.
Support using a postgres which isn't in the PATH.
readlink -f doesn't work as it does on linux.