Javascript fixes

Put settings up on the top bar and also use the profile settings link in
the dropdown menu
Use the new overlay for dialog
Fade in the overlay