This Tutorial covers the process of making a tileable texture, but it brings up some good techniques you probably haven't seen before. It involves making a guassian blur layer and a using a high pass filter. It is effective for getting rid of lighting gradients in photographs. This is something I have needed for a long time so I thought I would share.