Initial support for data blocks

Now you can create, write and manipulate data blocks. A critical bug
that rendered the ini system pretty much useless is also fixed now.