Quote database names

Also modified the /bt command.