Wake Gestures: various improvements and fixes

Signed-off-by: flar2 <asegaert@gmail.com>