 fixes to keep bpp after first detection or user choice, when resizing, changing properties of windows, etc. 
 fixes to keep bpp after first detection or user choice, when resizing, changing properties of windows, etc. 

asmodehn/sdlut,asmodehn/sdlut