add logging button/functionality, clean up dead code, revert timing back
to what has worked. Thanks TauLabs.