Add a dialog when downloading a log

Instead of having the Onyx device freeze, display a dialog. This uses the stock dialog display routine though it would look nicer with a dialog that does not state "Press a Key" at the bottom. But at least, this is a significant improvement on previous versions.

Corrected formatting for low battery routing in main.cpp

Added compatibility with firmware upload on Mavericks if anyone develops on a Mac - I do.