fix error in calculating lines for export to obj
fix fence post problem with export of filled surfaces
add more clamps if the project gets unwieldy
more general code for finding parent block
reuse palettes (Alan Aguiar)