remove mode table

Describe the modes using a list.
Other misc. fixes.