Which solves the problem of light before the sun.
Not really. There must be the Sun for there to be night and day.