Nicer edge-detection for walls.

Simplified wall-edge-determination.
Instead of a using a full brick graphics for each possible kind
of edge combination, edges are now detected seperately and drawn on top,
making nicer corners possible while decreasing the amount of graphics
needed.

TODO: Render walls onto background instead of redrawing each frame.
TODO: Convert all themes for this.