Fixed bug that prevented regions from also being extensions. Fixed bug in init that caused framework to crash when installing a new database.