Remove the textures that aren't in use anymore.
Add support for inner corners and a whole bunch of weird cases.
I Accidentally broke the pipes.
Also fix some more edge cases.