remove child pane
add setupPixelFormat and required libs