Fixed some typos, changed license in example from GPL2 to AGPL3.