Added a GLWidget to display bar and other things.