Cache favicon images, fix Firefox borders

This speeds up the table searching and rendering and makes it more
uniform.