add a bunch of logging for better debugging of android startup issues