Cleanup moosebox serial communicator code