Android: Fix a few warnings. Misc other things.