Fixed ssome text issues and commented more thoroughly