Code

fixed some bugs (bad render of thick/thin parts + reversed bending + occasional crash...