Small changes in readBuf() and readPx()

-> in readBuf() we now check if there are really new keycodes in buf
-> in readPx() the returnvalue is a 1 for LED is on, and a 0 for LED is off,
   makes more sense especially for checking if there are collosions in game