fiddling with bitmap options to better handle memory; adding some time utilities