I seem to recall that it was a ground attack plane. Yes, the cockpit is ugly.
1)Piaggio P.108
2)Fiat RS.14
3)SAI 403
4)Reggiane Re.2001
5)P-38
The B-24J was ugly, that turret on the front aparently caused a lot of drag. The earlyer verisons were better looking, even if they weren't able to defend themselves from the front. Don't see why they couldn't have just put a modified chin turet in it.