Fixes bug in download controller, for filenames with dots in it.
Fixes logout button in menubar.