Some fixes. The extension still doesn't work unfortunatly. But i do hope @olamy will be able to give me some good advices.