CContent and password dialog

- New content container (CContent)
- Work on password generation dialog
- Fixes in memory distribution