fixxed graphics problems with scaling and displaying.