fixed double buffering
fixed colors