Last commit before reformat
More mess.
Does not work ATM since the curve content is somehow gone once we load the craft