Two typos fixed, which fixed everything else. Now works as per tutorial.