Revived Android build.

Cleaned up logging, adding options for permanent tracing macros.
Removed the legion of dependencies from panacea