improved ui a bit, now using pane class