Migration vers la nouvelle architecture
mainUI handles Open and New in a unified way
Compile but crash before main()...
New UI! Everything compiles!