Global keyboard hook implemented