You forgot to set the Application.MainTabURL parameter