Fixed shortcuts for RTL layout and fixed back/forward shortcuts
-see #809
-also fixed some little windows issues
Merge pull request #822 from srazi/master

Fixed a few shortcuts problems.

Closes #809