Add Dropbox and Facebook authentication support, minor bug fixes.