small fix
added settings dialog
apply setting 'Use OpenGL'
Merge pull request #88 from slima4/master

added setting dialog and small fix