Tidied code, added texture mesh to planets, made ground atmosphere material transparent.