exported flags and UI edits
Merge pull request #78 from apatel/master

exported flags and UI edits