Convert print statements to Android logging.
All tabs to 4 spaces.