Set buffers appropriately so .xpm files can be read.