Fixed code pane and char set errors.