Add 'set to hardware default depth' feature.
Delete debug printf()'s.
Check the colormap depth value.
Some clean up.