Serious refresh refactoring

Draw_Pic, R_SetSky, Draw_GetPicSize, R_RenderFrame, R_EndRegistration
are now fully glued to the client