Fixed typos and bugs introduced during the port to donkey from
nibblonian.