Starting scripts: a few changes
Embedded menus: crash for lone windows fixed