adapted for build on mac os 10.9, added some presets and default fiducials