small fixes to make the merge work

moved the gestureservicerecognizer out of onsensorchanged.
added a bunch of logging.