On file save, the 3d view thumbnail creation caused changes in lighting enables. Solved with a glPushAttrib() and pop.