optimized memory usage of string
removed IDevice::getDeviceName()
pulsein unclaims the pin it claimed
cleaned up debugging