Fix multiple crash bugs on GestureDector (with double-finger) and Reader...

...FrontLight (closes Issue #165)