Added "Fix premultiplied alpha" option to BMP converter and some
character encoding related fixes