Cannot handle select messages

When the tablet receives a select-move message (M and N), it simply
prints M and N... not sure why it cannot enter the if statement...
still working on it
Can handle disconnects