Use macros instead of globals.
Extract end_letter.
Add recvm printing Morse Code to stdout.