Better bitmap management
Added heap threshold
Fixed blank thread issue on threads with only one page
Fixed image size preferences