better dust position calculation

and fix the loop in missionmanager