Added some path support and initial rendering on glwidget