Added advanced debug logging and developer options to improve overall app diagnostics and troubleshooting.