The camera is not positioned, so it starts at 0,0,0 - effectively inside the sun. When you run your code all you can see is a black screen. Try putting "PositionEntity camera,0,0,-10" below the CreateCamera line, so you can at least see something happening.