Cleaned up code, made some alterations to text