mouse friendly button updates

adding global vars to facilitate propogating mouse clicks on windows
(and probably linux)