Switched to be non-console app (no pop-up window)