whew big commit. many small changes in core arduino-serial functionality too