Referring to zeroshade instead of banthar for the fork
Adding APPACTIVE, APPINPUTFOCUS and APPMOUSEFOCUS