Document state type in ActionLine
Remove debugging print statement
document Macro initializer
fix some style inconsistencies
Add a more complete example of using macros
some extra fixes