@zecke - I got some warnings when compiling the module, so I pushed some fixes. Check the commit e0d26f780ed551bd993ca36ac125e87a16db7709 - it seemed wrong initialization of the same index, I guessed it should be the next, but it might not be the right.