bugfixing connection problems

also resetting board after Scratch disconnects, because of some strange
behavour (pinshifting)