Hey man no worries.
Well I don’t particularly see a problem with the way you’re texture mapping, however to overcome that fish-bowl distortion I think you should try casting a ray for each pixel column of the screen and work out the angle of the ray that way, rather than shooting a ray at each angular increment of the fov.
I would be interested in checking out your engine btw, if you ever released it somewhere.