Fix recognizing BMP files

This adds support for BMP picture files.

Without this, the debug gives:
Could not match any format to "H:\Test Files\1280x720.bmp"
with "Supported = f:bmp   m:image/bmp" given in the renderer config file.
Now it can be played on my Android device.

Sorry about the additional senseless commits, still learning about this GitHub thing :)
And please check this code because I am not a skilled programmer.