Optimized the codepage selection window. Fixes #26