1. Fixes #0000274: Missing "Section Template" and "Section Properties" buttons in Content & Design Modes.
2. I bet, that these installs were having "default2009" theme before.
3. Problem was, that when auto-creating theme structure for given theme, then ThemeId were not taken into account when searching already created pages in Category table. This was perfectly visible for two themes with identical structure (like "default2009" and "advanced") - corresponding records in Category table just were not created at all.
INP-230