Relocate wxWidgets initialization so CLI works