fixed curve printing

-curve printing now totally dynamic,no longer breaks on large spacing
-Also if possible we should align the labels for controls. That would
make the ui look better