1. merge pre/main/blank/post templates into one
2. remove "use main-lift" option from GUI
3. add conditional script option to gcode preprocessor