Minor modifications.
Converted to PC communications. Added debugging functions for manual communication.