Improve bitmap loading

- No force to loaded with a specific format (this avoid some bad formats
on exif jpegs)
- Remove unused comments and imports

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>