Making mmap optional
Safely detecting progressive Jpeg (avoiding problems on loading)
Ignoring cabal sandbox