Added BMP and ICO support.