Fix typo in reference to global $blog_id.
Change initialisation of table prefix value.