Switch to standard array methods
Remove unhelpful parentheses
Merge pull request #351 from nrn/master

Switch action handling to array methods.