I actually cleaned up the code. Still over 100 lines, though. Lots of clean up code that is not necessary on the other dungeon mapper. But pair this with calc84 raycaster, and you got yourself a Castle Wolfenstein 3D!