Remove padding from end of file
Fix character translation tables
Add comments to terminal character translation