add perimeter parameter back to tracking, and UI adjustments