Arduino: update sketch and libraries, bug fix)