Added doxygen comments and fixed minor bugs.

Elaborated on doxygen-related comments, primarily in main.c.
Fixed minor bug in key.c.
Merge branch 'master' of https://github.com/paulbendixen/OZ7FOX