Web ui fixes

ping @mperham 
Can you break out this 404 stuff into a separate commit?  It's ok to go onto master.