tower: event handlers and statemachine states may optionally be named

* helps a bunch when grepping through the C code.
tower: statemachine cflow precedence corrected

* previously, bottom statements were most precedent
* second L vs R bug in as many days, this time folds instead
  of shifts at least. i french fried when i shoulda pizza-ed