Basic rebuild problem

-Rebuild for the command line version which has the MasterCurve option. @pascal has added a request for the MasterCurve option to be added to the dialog version. Rebuild - Master surface