lots of changes (see comment for details)

- Emmett's changes to the menu's look and feel
- I added teachertab functionality
- I fixed a bug where if the last module in a subject is not a
TextModule, the next subject fails to unlock.