Fixed terminal Alt mappings. Minor fixes.