UI and initial particle detection