Worked through ensuring legal URLs. Still needs some work, then I can start working on the other functions.