Application Working, Window with black screen displayed