New functions connect() and database() - to cleanly connect with other databases.
Multi-site work in progress.