fix #50
issue #53
fix #47
fix #51
issue #47: Merge branch 'altgr'