Quick actions menu and various navbar fixes

Quick actions menu hide itselfs if it's empty (with some DOM trickery again).

Fixed an issue where toggling between the public facing website and the dashboard would cause rendering issues.