Fixed iterator type.
Merge pull request #117 from prisonerjohn/hotfix-uiwidget-win32

Fixed iterator type.
added boolean to allow users to load the UI with triggering the callback