Added database compatibility for custom tables.
Added safety question for global layout.