Small bugfixes in code I got from an other public vimconf