Use command key for adding selections on mac
Fix windows detection

This also changes bidi behaviour on windows