renamed getPorts to getDevices
fixed connect/disconnect in serialmonitor, which appears to be working again now
fixed write/send now serial monitor works both ways