Changes to styles to make inbox and project actions align, and page styles nicer.
Changed one query to use joins to test
Some changes to database queries