Make isStopped inline in PerformanceTimer
Give Scratch some time to process the incoming sensor messages (0.25 secs)
Added return values to ScratchConnection for checking errors
Send pin configuration to Scratch later if it was not connected