fixed bug where network call would return faster than youtube view was ready to start playing, other bugs, and added some error checking