Various additions, see description.

- Handling of incoming packets nearly complete.
- dAmnRichText is now functional.
- Some renaming/refactoring.