Removed the phantom window and removed start automatically logic.