Lots of fixes.
More fixes.
Add default users and templates.
Even more little fixes.