Improve debug logging.
Improve text message sending. Start adding support for text message receiving.