minor changes on glasspane.