Add capability to export internals. Add tests. Correct get_countdown()