Fix bugs in Histogragram1D example

Forward should be 'k', not 1
Can't use 10-13 pins with WiFly shield. 9 also?
Move some logic out of client.isavailable method.