Actually adding chunks worked perfectly.

The example application was just broken, since I forgot to call
MarkModified...