fix issue #32, tweak fix for issue #14
add tracking of modifier keys (in prep for macro translation)
fixing bugs in modifier tracking
fixing bug... modifier state off by one bit shift
add abiltiy for Macro Inversion to be selective depending on modifier key state