Fix some bugs in the notifications arising from outdated code.

Also redirect to project index after changing the project.
Clean up a minor bug where all tooltips end up red.