Added merge threshold to UI. Fixed STL import.