More debugging.  Remaining problem is getting attitude to work correctly.