Flexible Windows: be more careful with the built in windows and whether they are present/required. This fixes a bug in iFrotz
Menus: always cancel character input when closing a menu (it wasn't been canceled if the popover window wasn't used)