Debugging output, bug fixes, code cleanup, working serial data transfer implementation