miscellaneous fixes

- use constant for actions
- add MAGIC_NUM in name choice in gossip
- return comments in descending order