much better thumbnail viewer: add support for bmp, faster thumnail generation and better quality looking.  Simplified code, by using scalr.