cleanup and bug fixes in dropbox integration for mobile.