Hi Dorin,
you're doing a great work with this plugin. About the polyskel algorithm, there is an excellent
Java implementation which also have an interesting feature that could be used to build roofs opened on one side as the one asked by Gildaniel. You can see the code in action
here.