 Dave Hanson bent over the gears, cursing.
Upset that they were still malfunctioning, Dave cursed as he bent over the gears. 
mnli hypothesis: Upset that they were still malfunctioning, Dave cursed as he bent over the gears.  premise:  Dave Hanson bent over the gears, cursing.